import 'dart:ui';

import 'package:get/get.dart';

import '../../../../components/bottom11/tabIcon_data.dart';

class Bottom11Controller extends GetxController {
  RxInt pageIndex = 0.obs;

  /// 图标
  final List<TabIconData> iconList = TabIconData.tabIconsList;

  final List<Color> bgs = [
    const Color(0xfffff4fc),
    const Color(0xffffe1f9),
    const Color(0xffffd2f7),
  ];

  final count = 0.obs;
  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  void onClickBottomBar(int index) {
    pageIndex.value = index;
    update();
  }
}
